
package br.edu.unip.tcc.jogdadavelha.actions;

import br.edu.unip.tcc.jogdadavelha.actions.ActionListener;
import br.edu.unip.tcc.jogdadavelha.JogoVelhaMIDlet;
import javax.bluetooth.BluetoothStateException;

/**
 * @author Fabricio V. Zamara
 */
public class CancelInquiryActionListener implements ActionListener{
        //Classe de tecla canclemanto da busca
	public void doAction() {
		try {
			JogoVelhaMIDlet.getInstance().getDevice().cancelInquiry(); //cancelo a busca do dispositivo
		} catch (BluetoothStateException e) {
			e.printStackTrace();
		}
	}

}
